import request from '@/utils/request'

// 查询
export function listConfig(query) {
  return request({
    url: '/system_setting/ims/config/list',
    method: 'get',
    params: query,
  })
}

// 修改
export function updateConfig(data) {
  return request({
    url: '/system_setting/ims/config',
    method: 'put',
    data: data,
  })
}

// 查询某一个配置
export function selectConfigValueByConfigKey(data) {
  return request({
    url: '/system_setting/ims/config/selectConfigValueByConfigKey',
    method: 'get',
    params: data,
  })
}

export function verification(data) {
  return request({
    url: '/ims_data/productData/verification',
    method: 'get',
  })
}
